package com.atguigu.eduorder.client;

import com.atguigu.commonutils.vo.UcenterMemberVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
@Component
@FeignClient("service-ucenter")
public interface UcenterClient {
    //调用根据用户id查询用户信息
    @PostMapping("/educenter/member/getUserInfoById/{id}")
    public UcenterMemberVo getUserInfoById(@PathVariable("id") String id);
}
